-
Home
-
WooPayments: Integrated WooCommerce Payments
-
9.7.0 (latest)
-
Code
-
Classes
- Database_Cache
Total Complexity |
61 |
Dependencies |
2 |
Dependents |
13 |
Total lines |
434 |
Lines of code |
173 |
Logical lines of code |
107 |
Comment lines |
195 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_ttl() |
B |
44 |
17 |
46 |
should_refresh_cache() |
A |
50 |
15 |
29 |
get_or_add() |
A |
53 |
8 |
23 |
delete_by_prefix() |
S |
53 |
5 |
22 |
get() |
S |
63 |
5 |
10 |
write_to_cache() |
S |
62 |
2 |
11 |
delete() |
S |
71 |
2 |
6 |
get_from_cache() |
S |
67 |
2 |
8 |
__construct() |
S |
81 |
1 |
3 |
init_hooks() |
S |
79 |
1 |
3 |
add() |
S |
79 |
1 |
3 |
disable_refresh() |
S |
81 |
1 |
3 |
is_expired() |
S |
69 |
1 |
6 |